package edu.jhu.cs.oose.scheduleit.services.impl;

import edu.jhu.cs.oose.scheduleit.services.EventService;
import edu.jhu.cs.oose.scheduleit.services.GroupService;
import edu.jhu.cs.oose.scheduleit.services.ScheduleService;
import edu.jhu.cs.oose.scheduleit.services.UserService;

public class ServiceFactory {
  
	private static EventService eventService;
  
	private static ScheduleService scheduleService;
	
	private static UserService userService;
	
	private static GroupService groupService;

	public static EventService getEventService() {
		return eventService;
	}

	public static void setEventService(EventService eventService) {
		ServiceFactory.eventService = eventService;
	}

	public static ScheduleService getScheduleService() {
		return scheduleService;
	}

	public static void setScheduleService(ScheduleService scheduleService) {
		ServiceFactory.scheduleService = scheduleService;
	}

	public static UserService getUserService() {
		return userService;
	}

	public static void setUserService(UserService userService) {
		ServiceFactory.userService = userService;
	}

	public static GroupService getGroupService() {
		return groupService;
	}

	public static void setGroupService(GroupService groupService) {
		ServiceFactory.groupService = groupService;
	}
	
}
